Optimal. Leaf size=309 \[ \frac{19 x \left (2 x^2+\sqrt{13}+5\right )}{234 \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{x^4+5 x^2+3}}{117 x}-\frac{8 x^2+7}{39 x \sqrt{x^4+5 x^2+3}}-\frac{4 \sqrt{\frac{2}{3 \left (5+\sqrt{13}\right )}} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) F\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{39 \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) E\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{234 \sqrt{x^4+5 x^2+3}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.401239, antiderivative size = 309, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2 \[ \frac{19 x \left (2 x^2+\sqrt{13}+5\right )}{234 \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{x^4+5 x^2+3}}{117 x}-\frac{8 x^2+7}{39 x \sqrt{x^4+5 x^2+3}}-\frac{4 \sqrt{\frac{2}{3 \left (5+\sqrt{13}\right )}} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) F\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{39 \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) E\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{234 \sqrt{x^4+5 x^2+3}} \]
Antiderivative was successfully verified.
[In] Int[(2 + 3*x^2)/(x^2*(3 + 5*x^2 + x^4)^(3/2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 33.1008, size = 279, normalized size = 0.9 \[ \frac{19 x \left (2 x^{2} + \sqrt{13} + 5\right )}{234 \sqrt{x^{4} + 5 x^{2} + 3}} - \frac{19 \sqrt{6} \sqrt{\frac{x^{2} \left (- \sqrt{13} + 5\right ) + 6}{x^{2} \left (\sqrt{13} + 5\right ) + 6}} \sqrt{\sqrt{13} + 5} \left (x^{2} \left (\sqrt{13} + 5\right ) + 6\right ) E\left (\operatorname{atan}{\left (\frac{\sqrt{6} x \sqrt{\sqrt{13} + 5}}{6} \right )}\middle | - \frac{13}{6} + \frac{5 \sqrt{13}}{6}\right )}{1404 \sqrt{x^{4} + 5 x^{2} + 3}} - \frac{4 \sqrt{6} \sqrt{\frac{x^{2} \left (- \sqrt{13} + 5\right ) + 6}{x^{2} \left (\sqrt{13} + 5\right ) + 6}} \left (x^{2} \left (\sqrt{13} + 5\right ) + 6\right ) F\left (\operatorname{atan}{\left (\frac{\sqrt{6} x \sqrt{\sqrt{13} + 5}}{6} \right )}\middle | - \frac{13}{6} + \frac{5 \sqrt{13}}{6}\right )}{117 \sqrt{\sqrt{13} + 5} \sqrt{x^{4} + 5 x^{2} + 3}} - \frac{8 x^{2} + 7}{39 x \sqrt{x^{4} + 5 x^{2} + 3}} - \frac{19 \sqrt{x^{4} + 5 x^{2} + 3}}{117 x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((3*x**2+2)/x**2/(x**4+5*x**2+3)**(3/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.537721, size = 228, normalized size = 0.74 \[ \frac{-i \sqrt{2} \left (19 \sqrt{13}-143\right ) x \sqrt{\frac{-2 x^2+\sqrt{13}-5}{\sqrt{13}-5}} \sqrt{2 x^2+\sqrt{13}+5} F\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{5+\sqrt{13}}} x\right )|\frac{19}{6}+\frac{5 \sqrt{13}}{6}\right )+19 i \sqrt{2} \left (\sqrt{13}-5\right ) x \sqrt{\frac{-2 x^2+\sqrt{13}-5}{\sqrt{13}-5}} \sqrt{2 x^2+\sqrt{13}+5} E\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{5+\sqrt{13}}} x\right )|\frac{19}{6}+\frac{5 \sqrt{13}}{6}\right )-4 \left (19 x^4+119 x^2+78\right )}{468 x \sqrt{x^4+5 x^2+3}} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(2 + 3*x^2)/(x^2*(3 + 5*x^2 + x^4)^(3/2)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.029, size = 257, normalized size = 0.8 \[ -6\,{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}} \left ( -{\frac{19\,x}{78}}-{\frac{5\,{x}^{3}}{78}} \right ) }-{\frac{16}{13\,\sqrt{-30+6\,\sqrt{13}}}\sqrt{1- \left ( -{\frac{5}{6}}+{\frac{\sqrt{13}}{6}} \right ){x}^{2}}\sqrt{1- \left ( -{\frac{5}{6}}-{\frac{\sqrt{13}}{6}} \right ){x}^{2}}{\it EllipticF} \left ({\frac{x\sqrt{-30+6\,\sqrt{13}}}{6}},{\frac{5\,\sqrt{3}}{6}}+{\frac{\sqrt{39}}{6}} \right ){\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}}-{\frac{76}{13\,\sqrt{-30+6\,\sqrt{13}} \left ( 5+\sqrt{13} \right ) }\sqrt{1- \left ( -{\frac{5}{6}}+{\frac{\sqrt{13}}{6}} \right ){x}^{2}}\sqrt{1- \left ( -{\frac{5}{6}}-{\frac{\sqrt{13}}{6}} \right ){x}^{2}} \left ({\it EllipticF} \left ({\frac{x\sqrt{-30+6\,\sqrt{13}}}{6}},{\frac{5\,\sqrt{3}}{6}}+{\frac{\sqrt{39}}{6}} \right ) -{\it EllipticE} \left ({\frac{x\sqrt{-30+6\,\sqrt{13}}}{6}},{\frac{5\,\sqrt{3}}{6}}+{\frac{\sqrt{39}}{6}} \right ) \right ){\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}}-4\,{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}} \left ({\frac{19\,{x}^{3}}{234}}+{\frac{40\,x}{117}} \right ) }-{\frac{2}{9\,x}\sqrt{{x}^{4}+5\,{x}^{2}+3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((3*x^2+2)/x^2/(x^4+5*x^2+3)^(3/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{3 \, x^{2} + 2}{{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((3*x^2 + 2)/((x^4 + 5*x^2 + 3)^(3/2)*x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{3 \, x^{2} + 2}{{\left (x^{6} + 5 \, x^{4} + 3 \, x^{2}\right )} \sqrt{x^{4} + 5 \, x^{2} + 3}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((3*x^2 + 2)/((x^4 + 5*x^2 + 3)^(3/2)*x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{3 x^{2} + 2}{x^{2} \left (x^{4} + 5 x^{2} + 3\right )^{\frac{3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((3*x**2+2)/x**2/(x**4+5*x**2+3)**(3/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{3 \, x^{2} + 2}{{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((3*x^2 + 2)/((x^4 + 5*x^2 + 3)^(3/2)*x^2),x, algorithm="giac")
[Out]